<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/8/6
 * Time: 14:40
 */
namespace App\Http\Controllers\Api\Pay;

use App\Http\Controllers\Controller;
use App\Services\PayLevelProfitService;
use App\Services\PersonalAccountWithdrawService;
use Illuminate\Http\Request;

class WxpayNotifyController extends Controller
{
    protected $payLevelProfitService;

    public function __construct(PayLevelProfitService $payLevelProfitService)
    {
        $this->payLevelProfitService = $payLevelProfitService;
    }

    /**
     * 微信支付升级会员
     */
    public function notify()
    {
        $this->payLevelProfitService->wxpayNotify();
    }
}